package Model.Entity;


import SqlGenerator.Entity;


/*
* 收件人地址实体：地址区域，详细地址，邮政编码
* */
@Entity("recipient")
public class Recipient   {
    private Long id;//PK
    private Long userid;//FK
    private String local;
    private String address;
    private Long zipcode;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {

        return id;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {

        return address;
    }

    public void setLocal(String local) {
        this.local = local;
    }

    public void setZipcode(Long zipcode) {
        this.zipcode = zipcode;
    }

    public String getLocal() {

        return local;
    }

    public Long getZipcode() {
        return zipcode;
    }
}
